home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / lib / gcc-lib / i486-unknown-sco3.2v5.0.0elf / 2.6-95q2 / include / oldstyle / locale.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-07-12  |  2.2 KB  |  82 lines

  1. /*
  2.  * Copyright (C) 1987, 1988-1995 The Santa Cruz Operation, Inc.
  3.  *        All Rights Reserved.
  4.  *
  5.  *    The information in this file is provided for the exclusive use of
  6.  *    the licensees of The Santa Cruz Operation, Inc.  Such users have the
  7.  *    right to use, modify, and incorporate this code into other products
  8.  *    for purposes authorized by the license agreement provided they include
  9.  *    this notice and the associated copyright notice with any such product.
  10.  *    The information in this file is provided "AS IS" without warranty.
  11.  */
  12.  
  13. /*    Portions Copyright (c) 1990, 1991, 1992, 1993 UNIX System Laboratories, Inc. */
  14. /*    Portions Copyright (c) 1979 - 1990 AT&T   */
  15. /*      All Rights Reserved   */
  16.  
  17. /*    THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF          */
  18. /*    UNIX System Laboratories, Inc.                          */
  19. /*    The copyright notice above does not evidence any        */
  20. /*    actual or intended publication of such source code.     */
  21.  
  22. #ifndef _LOCALE_H
  23. #ifndef _PARAMS
  24. #if defined(__STDC__) || defined(__cplusplus)
  25. #define _PARAMS(ARGS) ARGS
  26. #else
  27. #define _PARAMS(ARGS) ()
  28. #endif
  29. #endif /* _PARAMS */
  30. #define _LOCALE_H
  31.  
  32. #ident "oldstyle @(#) locale.h 20.1 94/12/04 "
  33.  
  34. #pragma pack(4)
  35.  
  36.  
  37. #ifndef _STRUCT_LCONV
  38. #define _STRUCT_LCONV
  39. struct lconv
  40. {
  41.     char    *decimal_point;
  42.     char    *thousands_sep;
  43.     char    *grouping;
  44.     char    *int_curr_symbol;
  45.     char    *currency_symbol;
  46.     char    *mon_decimal_point;
  47.     char    *mon_thousands_sep;
  48.     char    *mon_grouping;
  49.     char    *positive_sign;
  50.     char    *negative_sign;
  51.     char    int_frac_digits;
  52.     char    frac_digits;
  53.     char    p_cs_precedes;
  54.     char    p_sep_by_space;
  55.     char    n_cs_precedes;
  56.     char    n_sep_by_space;
  57.     char    p_sign_posn;
  58.     char    n_sign_posn;
  59. };
  60. #endif
  61.  
  62. #define LC_ALL  1           /* All the following  */
  63. #define LC_CTYPE 2          /* ctype(S), conv(S)  */
  64. #define LC_NUMERIC 3        /* printf(S), etc.  */
  65. #define LC_TIME  4          /* strftime(S)  */
  66. #define LC_COLLATE 5        /* strxfrm(S), strcoll(S)  */
  67. #define LC_MESSAGES 6       /* Not yet used  */
  68. #define LC_MONETARY 7       /* Not yet used  */
  69. #define _LC_NUM_CATS    8 /* Number of locale catagories, first 2 empty */
  70.  
  71. #ifndef NULL
  72. #define NULL    0
  73. #endif /* NULL */
  74.  
  75. extern char    *setlocale _PARAMS((int, const char *));
  76. extern struct lconv    *localeconv();
  77.  
  78.  
  79. #pragma pack()
  80.  
  81. #endif /* _LOCALE_H */
  82.